<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>管理后台</title>
    <link rel="stylesheet" th:href="@{./css/component.css}">
    <link rel="stylesheet" th:href="@{./css/admin.css}">
    <link rel="stylesheet" th:href="@{./css/font-awesome.min.css}">
    <script th:src="@{./js/JQuery2.1.4.js}"></script>
    <script th:src="@{./js/common.js}"></script>
</head>

<body>
<div class="admin">
    <div class="top">
        <div class="left">
            GMS
        </div>
        <div class="right">
            <a th:href="@{../user/index}">
                <i class="fa fa-home"></i>
                <span>前台主页</span>
            </a>
            <a th:href="@{../login}">
                <i class="fa fa-fw fa-power-off"></i>
                <span>退出后台</span>
            </a>
            <a class="r">
                <i class="fa fa-user-circle" aria-hidden="true"></i><p th:text="${session.user.getUserName()}"></p>
            </a>
        </div>
    </div>
    <div class="body">
        <div class="left">
            <div class="menu">
                <div class="title">
                    <i class="fa fa-fw fa-home"></i> 站点仪表
                </div>
            </div>
            <!-- 分割线 -->
            <div class="menu">
                <div class="title">
                    <i class="fa fa-fw fa-newspaper-o"></i> 网站介绍 <i class="fa fa-fw fa-angle-right"></i>
                </div>
                <ul class="downmenu">
                    <li><a th:href="@{../introduction}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 网站介绍</a></li>
                </ul>
            </div>
            <!-- 分割线 -->
            <div class="menu" th:if="${session.permission}=='4'">
                <div class="title">
                    <i class="fa fa-fw fa-user"></i> 人员管理 <i class="fa fa-fw fa-angle-right"></i>
                </div>
                <ul class="downmenu">
                    <li><a th:href="@{../user/touser}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 普通用户列表</a></li>
                    <li><a th:href="@{../user/toadmin}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 管理员列表</a></li>
                </ul>
            </div>
            <!-- 分割线 -->
            <div class="menu" th:if="${session.permission}=='1'">
                <div class="title">
                    <i class="fa fa-fw fa-file-powerpoint-o"></i> 场地管理 <i class="fa fa-fw fa-angle-right"></i>
                </div>

                <ul class="downmenu">
                    <li><a th:href="@{../toPlaceDetail}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 场地详情</a></li>
                    <li><a th:href="@{../toPlaceApply}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 预留场地</a></li>
                    <li><a th:href="@{../toPlaceAudit}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 预约审核</a></li>
                    <li><a th:href="@{../toFindWeekInfo}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 场地一周信息</a></li>
                    <li><a th:href="@{../toPlaceFeeStander}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 场地收费标准</a></li>
                    <li><a th:href="@{../toPlaceNotice}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 场馆公告</a></li>
                </ul>
            </div>
            <!-- 分割线 -->
            <div class="menu" th:if="${session.permission}=='2'">
                <div class="title">
                    <i class="fa fa-fw fa-image"></i> 器材管理 <i class="fa fa-fw fa-angle-right"></i>
                </div>
                <ul class="downmenu">
                    <li><a th:href="@{../equipment/showEquipment}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 器材管理</a></li>
                </ul>
            </div>
            <!-- 分割线 -->
            <div class="menu" th:if="${session.permission}=='3'">
                <div class="title">
                    <i class="fa fa-flag" aria-hidden="true"></i> 赛事审核 <i class="fa fa-fw fa-angle-right"></i>
                </div>

                <ul class="downmenu">
                    <li><a th:href="@{../event/event_status(status=1)}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 赛事审核</a></li>
                </ul>
            </div>
            <div class="menu" th:if="${session.permission}=='3'">
                <div class="title">
                    <i class="fa fa-flag" aria-hidden="true"></i> 赛事查询 <i class="fa fa-fw fa-angle-right"></i>
                </div>
                <ul class="downmenu">
                    <li><a th:href="@{../event/event_process(pageNum=1,status=1)}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 赛事进程</a></li>
                    <li><a th:href="@{../event/event_query_jump(pageNum=1,status=1)}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 赛事查询</a></li>
                </ul>
            </div>
            <div class="menu" th:if="${session.permission}=='3'">
                <div class="title">
                    <i class="fa fa-flag" aria-hidden="true"></i> 赛事管理 <i class="fa fa-fw fa-angle-right"></i>
                </div>

                <ul class="downmenu">
                    <li><a th:href="@{../event/event_cancel(pageNum=1)}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 赛事取消</a></li>
                    <li><a th:href="@{../referee/referee_query(pageNum=1)}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 裁判列表</a></li>
                    <li><a th:href="@{../referee/torefereecreate}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 创建裁判</a></li>
                    <li><a th:href="@{../event/toeventNotice(pageNum=1,status=1)}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 赛事公告</a></li>
                </ul>
            </div>
            <!-- 分割线 -->
            <div class="menu" th:if="${session.permission}=='4'">
                <div class="title">
                    <i class="fa fa-fw fa-newspaper-o"></i> 网站公告 <i class="fa fa-fw fa-angle-right"></i>
                </div>
                <ul class="downmenu">
                    <li><a th:href="@{../notice/selectall}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 公告列表</a></li>
                    <li><a th:href="@{../notice/toadd}" target="rightiframe"><i class="fa fa-arrows" aria-hidden="true"></i> 添加公告</a></li>
                </ul>
            </div>
        </div>
        <!-- 分割线 -->
        <div class="right">
            <iframe src="/introduction" frameborder="0" id="rightiframe" name="rightiframe"></iframe>
        </div>
    </div>
</div>
</body>

</html>